<?php

use yii\helpers\Html;
use yii\bootstrap\ActiveForm;


?>

<div class="user-search">

    <?php $form = ActiveForm::begin([
        'action' => ['index'],
        'method' => 'get',
        'layout' => 'inline',
    ]); ?>

    <?= $form->field($model, 'username')->textInput(['placeholder'=>Yii::t('app.user', 'Username')]) ?>

    <?php echo $form->field($model, 'email')->textInput(['placeholder'=>Yii::t('app.user', 'Email')]) ?>

    <?php echo $form->field($model, 'name')->textInput(['placeholder'=>Yii::t('app.user', 'Name')]) ?>

    <div class="form-group">
        <?= Html::submitButton(Yii::t('app', 'Search'), ['class' => 'btn btn-primary']) ?>
        <?= Html::resetButton(Yii::t('app', 'Reset'), ['class' => 'btn btn-default']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
